package com.example.pro1.util.zhao;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class DateUtils {
    //2022-01-06 11:18:20
    public static String miao()
    {
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
        String localDateTime  = LocalDateTime.now().format(dateTimeFormatter) ;
        return localDateTime;
    }
}
